package com.aptemo.webetek.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class StakeSelectedEvent
		extends GwtEvent<StakeSelectedHandler>
{

	public static final GwtEvent.Type<StakeSelectedHandler>	TYPE	= new GwtEvent.Type<StakeSelectedHandler>();

	private String											id;

	private String											teamId;

	public StakeSelectedEvent(String id, String teamId)
	{
		this.id = id;
		this.teamId = teamId;
	}

	@Override
	protected void dispatch(StakeSelectedHandler handler)
	{
		handler.onStakeSelected(this);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<StakeSelectedHandler> getAssociatedType()
	{
		return TYPE;
	}

	public String getId()
	{
		return this.id;
	}

	public String getTeamId()
	{
		return this.teamId;
	}
}
